package com.ruoyi.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.course.domain.TVideoCategory;
import com.ruoyi.course.vo.TVideoCategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 视频分类Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface TVideoCategoryMapper extends BaseMapper<TVideoCategory> {

    Page<TVideoCategoryVo> queryList(Page<?> page, @Param("entity") TVideoCategoryVo entity);

    List<TVideoCategoryVo> queryList(@Param("entity") TVideoCategoryVo entity);

    TVideoCategoryVo queryById(@Param("id") Long id);

}
